import { Component, OnInit } from '@angular/core';
import { PublicService } from 'app/public/public.service';

@Component({
    selector: 'itmp-equipment-alarm',
    templateUrl: './equipment-alarm.component.html',
    styleUrls: ['./equipment-alarm.component.css']
})
export class EquipmentAlarmComponent implements OnInit {
    selectIndex = 0;
    accessButton = {
        export: false,
        GIS: false,
        PRINT: false,
        Ack: false,
        False: false,
        Clear: false
    };
    constructor(private pub: PublicService) {}

    ngOnInit() {
        this.accessButton = this.pub.getButtonAccess('18', this.accessButton);
    }
}
